package com.example.qny01.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import qny01.pojo.Student;

import java.util.List;

@Mapper
public interface StudentMapper{
    List<Student> selectAll();
    Student selectById(Integer id);
    int insert(@Param("s") Student student);
    int delete(Integer id);
    int update(@Param("s")Student student);
}
